/**
 * Project hdmap
 * @author shengjialiang
 * @version v1.0
 */


#ifndef _STRINGCONVERTER_H
#define _STRINGCONVERTER_H

#include "map_helper/HelperConfig.h"

namespace Helper
{
    class MAP_HELPE_EXPORT CStringConverter 
    {
    public:
        CStringConverter();

        ~CStringConverter();

        static std::string convert(const std::wstring& in_wstring);

        static std::wstring convert(const std::string& in_string);

        static std::string convert(const int& in_value);

        static std::string convert(const long long& in_value);

        static std::string convert(const double& in_value);

        static void splitString(const std::string& s, std::vector<std::string>& result, const std::string& c);

        static void replaceString(std::string & in_strBig, const std::string &in_strsrc, const std::string & in_strdst);
    };
}
#endif //_STRINGCONVERTER_H